package com.zhou.core.os.v3_oshi.entity;

/**
 * Created by zhouyongjun on 2020/7/10
 */
public class OSHIMemory extends  AbstractOSHIEntity{
    long total;
    long available;
    double usePer;
    long swapTotal;
    long swapUsed;
    @Override
    public OSHITypeEnum oshiTypeEnum() {
        return OSHITypeEnum.MEMORY;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getAvailable() {
        return available;
    }

    public void setAvailable(long available) {
        this.available = available;
    }

    public void setUsePer(double usePer) {
        this.usePer = usePer;
    }

    public double getUsePer() {
        return usePer;
    }

    public long getSwapTotal() {
        return swapTotal;
    }

    public void setSwapTotal(long swapTotal) {
        this.swapTotal = swapTotal;
    }

    public long getSwapUsed() {
        return swapUsed;
    }

    public void setSwapUsed(long swapUsed) {
        this.swapUsed = swapUsed;
    }
}
